package com.example.demo.facade;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/log")
public class Controller {
    @RequestMapping("/print")
    public String print(){
        log.info("打印日志 log");
        log.trace("打印日志 trace");
        return "1";
    }
}
